package com.chenglu.android.mine.bean;

import java.util.List;

/**
 * @author: lyj
 * @Created: by Copyright 2023/10/6 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description：
 */
public class AddressTree {

    private Integer code;
    private List<Data> data;
    private String msg;
    private Boolean success;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public static class Data {
        private String ancestors;
        private List<ChildrenBean> childrenbeans;
        private String cityCode;
        private String cityName;
        private String code;
        private String districtCode;
        private String districtName;
        private Boolean hasChildren;
        private Integer id;
        private String name;
        private String parentCode;
        private Integer parentId;
        private String parentName;
        private String provinceCode;
        private String provinceName;
        private Integer regionLevel;
        private String remark;
        private Integer sort;
        private String townCode;
        private String townName;
        private String villageCode;
        private String villageName;

        public String getAncestors() {
            return ancestors;
        }

        public void setAncestors(String ancestors) {
            this.ancestors = ancestors;
        }

        public List<ChildrenBean> getChildren() {
            return childrenbeans;
        }

        public void setChildren(List<ChildrenBean> children) {
            this.childrenbeans = children;
        }

        public String getCityCode() {
            return cityCode;
        }

        public void setCityCode(String cityCode) {
            this.cityCode = cityCode;
        }

        public String getCityName() {
            return cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getDistrictCode() {
            return districtCode;
        }

        public void setDistrictCode(String districtCode) {
            this.districtCode = districtCode;
        }

        public String getDistrictName() {
            return districtName;
        }

        public void setDistrictName(String districtName) {
            this.districtName = districtName;
        }

        public Boolean getHasChildren() {
            return hasChildren;
        }

        public void setHasChildren(Boolean hasChildren) {
            this.hasChildren = hasChildren;
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getParentCode() {
            return parentCode;
        }

        public void setParentCode(String parentCode) {
            this.parentCode = parentCode;
        }

        public Integer getParentId() {
            return parentId;
        }

        public void setParentId(Integer parentId) {
            this.parentId = parentId;
        }

        public String getParentName() {
            return parentName;
        }

        public void setParentName(String parentName) {
            this.parentName = parentName;
        }

        public String getProvinceCode() {
            return provinceCode;
        }

        public void setProvinceCode(String provinceCode) {
            this.provinceCode = provinceCode;
        }

        public String getProvinceName() {
            return provinceName;
        }

        public void setProvinceName(String provinceName) {
            this.provinceName = provinceName;
        }

        public Integer getRegionLevel() {
            return regionLevel;
        }

        public void setRegionLevel(Integer regionLevel) {
            this.regionLevel = regionLevel;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public Integer getSort() {
            return sort;
        }

        public void setSort(Integer sort) {
            this.sort = sort;
        }

        public String getTownCode() {
            return townCode;
        }

        public void setTownCode(String townCode) {
            this.townCode = townCode;
        }

        public String getTownName() {
            return townName;
        }

        public void setTownName(String townName) {
            this.townName = townName;
        }

        public String getVillageCode() {
            return villageCode;
        }

        public void setVillageCode(String villageCode) {
            this.villageCode = villageCode;
        }

        public String getVillageName() {
            return villageName;
        }

        public void setVillageName(String villageName) {
            this.villageName = villageName;
        }

        public static class ChildrenBean {
            private String ancestors;
            private List<Children> children;
            private String cityCode;
            private String cityName;
            private String code;
            private String districtCode;
            private String districtName;
            private Boolean hasChildren;
            private Integer id;
            private String name;
            private String parentCode;
            private Integer parentId;
            private String parentName;
            private String provinceCode;
            private String provinceName;
            private Integer regionLevel;
            private String remark;
            private Integer sort;
            private String townCode;
            private String townName;
            private String villageCode;
            private String villageName;

            public String getAncestors() {
                return ancestors;
            }

            public void setAncestors(String ancestors) {
                this.ancestors = ancestors;
            }

            public List<Children> getChildren() {
                return children;
            }

            public void setChildren(List<Children> children) {
                this.children = children;
            }

            public String getCityCode() {
                return cityCode;
            }

            public void setCityCode(String cityCode) {
                this.cityCode = cityCode;
            }

            public String getCityName() {
                return cityName;
            }

            public void setCityName(String cityName) {
                this.cityName = cityName;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getDistrictCode() {
                return districtCode;
            }

            public void setDistrictCode(String districtCode) {
                this.districtCode = districtCode;
            }

            public String getDistrictName() {
                return districtName;
            }

            public void setDistrictName(String districtName) {
                this.districtName = districtName;
            }

            public Boolean getHasChildren() {
                return hasChildren;
            }

            public void setHasChildren(Boolean hasChildren) {
                this.hasChildren = hasChildren;
            }

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getParentCode() {
                return parentCode;
            }

            public void setParentCode(String parentCode) {
                this.parentCode = parentCode;
            }

            public Integer getParentId() {
                return parentId;
            }

            public void setParentId(Integer parentId) {
                this.parentId = parentId;
            }

            public String getParentName() {
                return parentName;
            }

            public void setParentName(String parentName) {
                this.parentName = parentName;
            }

            public String getProvinceCode() {
                return provinceCode;
            }

            public void setProvinceCode(String provinceCode) {
                this.provinceCode = provinceCode;
            }

            public String getProvinceName() {
                return provinceName;
            }

            public void setProvinceName(String provinceName) {
                this.provinceName = provinceName;
            }

            public Integer getRegionLevel() {
                return regionLevel;
            }

            public void setRegionLevel(Integer regionLevel) {
                this.regionLevel = regionLevel;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public Integer getSort() {
                return sort;
            }

            public void setSort(Integer sort) {
                this.sort = sort;
            }

            public String getTownCode() {
                return townCode;
            }

            public void setTownCode(String townCode) {
                this.townCode = townCode;
            }

            public String getTownName() {
                return townName;
            }

            public void setTownName(String townName) {
                this.townName = townName;
            }

            public String getVillageCode() {
                return villageCode;
            }

            public void setVillageCode(String villageCode) {
                this.villageCode = villageCode;
            }

            public String getVillageName() {
                return villageName;
            }

            public void setVillageName(String villageName) {
                this.villageName = villageName;
            }

            public static class Children {
                private String ancestors;
                private String cityCode;
                private String cityName;
                private String code;
                private String districtCode;
                private String districtName;
                private Boolean hasChildren;
                private Integer id;
                private String name;
                private String parentCode;
                private Integer parentId;
                private String parentName;
                private String provinceCode;
                private String provinceName;
                private Integer regionLevel;
                private String remark;
                private Integer sort;
                private String townCode;
                private String townName;
                private String villageCode;
                private String villageName;

                public String getAncestors() {
                    return ancestors;
                }

                public void setAncestors(String ancestors) {
                    this.ancestors = ancestors;
                }

                public String getCityCode() {
                    return cityCode;
                }

                public void setCityCode(String cityCode) {
                    this.cityCode = cityCode;
                }

                public String getCityName() {
                    return cityName;
                }

                public void setCityName(String cityName) {
                    this.cityName = cityName;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getDistrictCode() {
                    return districtCode;
                }

                public void setDistrictCode(String districtCode) {
                    this.districtCode = districtCode;
                }

                public String getDistrictName() {
                    return districtName;
                }

                public void setDistrictName(String districtName) {
                    this.districtName = districtName;
                }

                public Boolean getHasChildren() {
                    return hasChildren;
                }

                public void setHasChildren(Boolean hasChildren) {
                    this.hasChildren = hasChildren;
                }

                public Integer getId() {
                    return id;
                }

                public void setId(Integer id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getParentCode() {
                    return parentCode;
                }

                public void setParentCode(String parentCode) {
                    this.parentCode = parentCode;
                }

                public Integer getParentId() {
                    return parentId;
                }

                public void setParentId(Integer parentId) {
                    this.parentId = parentId;
                }

                public String getParentName() {
                    return parentName;
                }

                public void setParentName(String parentName) {
                    this.parentName = parentName;
                }

                public String getProvinceCode() {
                    return provinceCode;
                }

                public void setProvinceCode(String provinceCode) {
                    this.provinceCode = provinceCode;
                }

                public String getProvinceName() {
                    return provinceName;
                }

                public void setProvinceName(String provinceName) {
                    this.provinceName = provinceName;
                }

                public Integer getRegionLevel() {
                    return regionLevel;
                }

                public void setRegionLevel(Integer regionLevel) {
                    this.regionLevel = regionLevel;
                }

                public String getRemark() {
                    return remark;
                }

                public void setRemark(String remark) {
                    this.remark = remark;
                }

                public Integer getSort() {
                    return sort;
                }

                public void setSort(Integer sort) {
                    this.sort = sort;
                }

                public String getTownCode() {
                    return townCode;
                }

                public void setTownCode(String townCode) {
                    this.townCode = townCode;
                }

                public String getTownName() {
                    return townName;
                }

                public void setTownName(String townName) {
                    this.townName = townName;
                }

                public String getVillageCode() {
                    return villageCode;
                }

                public void setVillageCode(String villageCode) {
                    this.villageCode = villageCode;
                }

                public String getVillageName() {
                    return villageName;
                }

                public void setVillageName(String villageName) {
                    this.villageName = villageName;
                }
            }
        }
    }
}
